package com.overseasShopping.pojo;

import java.sql.Blob;
import java.util.Set;

public class DetailUser {
	private String userId;
	private String nickName;
	private String realName;
	private String sex;
	private String telephone;
	private Blob uimage;
	private String signature;
	private String email;
	private String credit;
	
	private User user;
	
	private Set<Goods> goods;

	public DetailUser() {
		super();
	}

	public DetailUser(String userId) {
		super();
		this.userId = userId;
	}

	public DetailUser(String userId, String nickName, String realName,
			String sex, String telephone, Blob uimage, String signature,
			String email,String credit) {
		super();
		this.userId = userId;
		this.nickName = nickName;
		this.realName = realName;
		this.sex = sex;
		this.telephone = telephone;
		this.uimage = uimage;
		this.signature = signature;
		this.email = email;
		this.credit = credit;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}





	public Blob getUimage() {
		return uimage;
	}

	public void setUimage(Blob uimage) {
		this.uimage = uimage;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}



	public String getCredit() {
		return credit;
	}

	public void setCredit(String credit) {
		this.credit = credit;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Set<Goods> getGoods() {
		return goods;
	}

	public void setGoods(Set<Goods> goods) {
		this.goods = goods;
	}

	@Override
	public String toString() {
		return userId + "_" + nickName
				+ "_" + realName + "_" + sex + "_"
				+ telephone + "_" + uimage + "_" + signature
				+ "_" + email + "_"
				+ credit;
	}

	
}
